import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_excel('data_mensual_bike.xlsx', sheet_name='Sheet1',usecols="B:AM")
df
from plotly.subplots import make_subplots
import plotly.graph_objects as go
fig = make_subplots(rows=4, cols=1)
fig.add_trace(
go.Scatter(x=df['dias'], y=df['inventario_est1'],name='inventario_est1'),
row=1, col=1
)
fig.add_trace(
go.Scatter(x=df['dias'], y=df['inventario_est2'],name='inventario_est2'),
row=2, col=1
)
fig.add_trace(
go.Scatter(x=df['dias'], y=df['inventario_est3'],name='inventario_est3'),
row=3, col=1
)
fig.add_trace(
go.Scatter(x=df['dias'], y=df['inventario_est4'],name='inventario_est4'),
row=4, col=1
)
fig.update_layout(height=600, width=800, title_text="Series de tiempo para inventario de estaciones de bicicletas")
fig.show()